import request from '@/utils/request'

// 查询多水厂综合报列表
export function listDispatchMultiPlantComprehensiveReports(query) {
  return request({
    url: '/system/dispatchMultiPlantComprehensiveReports/list',
    method: 'get',
    params: query
  })
}

// 查询多水厂综合报详细
export function getDispatchMultiPlantComprehensiveReports(multiPlantComprehensiveReportsId) {
  return request({
    url: '/system/dispatchMultiPlantComprehensiveReports/' + multiPlantComprehensiveReportsId,
    method: 'get'
  })
}

// 新增多水厂综合报
export function addDispatchMultiPlantComprehensiveReports(data) {
  return request({
    url: '/system/dispatchMultiPlantComprehensiveReports',
    method: 'post',
    data: data
  })
}

// 修改多水厂综合报
export function updateDispatchMultiPlantComprehensiveReports(data) {
  return request({
    url: '/system/dispatchMultiPlantComprehensiveReports',
    method: 'put',
    data: data
  })
}

// 删除多水厂综合报
export function delDispatchMultiPlantComprehensiveReports(multiPlantComprehensiveReportsId) {
  return request({
    url: '/system/dispatchMultiPlantComprehensiveReports/' + multiPlantComprehensiveReportsId,
    method: 'delete'
  })
}
